package com.coreservlets.jsf.ss07;

import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;

@ManagedBean
@ApplicationScoped
public class Navigator 
{
	private String[] resultPages = { "page1", "page2", "page3" };
	
	public String choosePage()
	{
		return ( resultPages[ new java.util.Random().nextInt(3) ] );
	}
}
